import request from '@/utils/request'
import myUrl from '@/myUrl'
export function increaseSysInfo(data) {
  return request({
    url: '/infoManagement/regexregisteredservice',
    method: 'post',
    data
  })
}

export function getAllService() {
  return request({
    url:'/infoManagement/regexregisteredservice/list',
    method: 'get',
  })
}
export function delServiceById(id) {
  return request({
    url: '/infoManagement/regexregisteredservice/'+id,
    method: 'delete',
  })
}


export function getServiceByName(name) {
  return request({
    url:  '/infoManagement/regexregisteredservice/queryByParameter',
    method: 'post',
    data:{'name':name}
  })
}
export function getServiceByUrl(url) {
  return request({
    url:  'infoManagement/regexregisteredservice/queryByParameter',
    method: 'post',
    data:{'logoutUrl':url}
  })
}
